         msg.send {room: msg.message.user.name}, "```\n#{stdout}\n```"
 
   robot.respond /tf delete ([^\s]+)$/i, (msg) ->
-    unless robot.auth.isAdmin(msg.envelope.user) or robot.auth.hasRole(msg.envelope.user,tfRole)
-      return msg.send {room: msg.message.user.name}, "Not authorized.  Missing #{tfRole} role."
+    return unless isAuthorized robot, msg
 
     projname = msg.match[1].replace /\//, "_"
 

    return msg.send {room: msg.message.user.name}, dir.join "\n"

  robot.respond /tf remote ([^\s]+)$/i, (msg) ->
    unless robot.auth.isAdmin(msg.envelope.user) or robot.auth.hasRole(msg.envelope.user,tfRole)
      return msg.send {room: msg.message.user.name}, "Not authorized.  Missing #{tfRole} role."

    projname = msg.match[1].replace /\//, "_"


    return msg.send {room: msg.message.user.name}, "Key destroyed!"

  robot.respond /tf clone ([^\s]+) ([^\s]+)$/i, (msg) ->
    return unless isAuthorized robot, msg

    url = msg.match[1]
    projname = msg.match[2].replace /\//, "_"
