     })
     .options("w", {
         alias: "watch_dir"
-        describe: "Directory to watch"
-        default: __dirname
+        describe: "Directory to watch. Defaults to current."
+        default: process.cwd()
     })
     .options("s", {
         alias: "sim_path"
-        describe: "Path to simulation in author/sim_path format."
+        describe: "Path to simulation in author/sim_path format"
         demand: true
     })
     .options("i", {
         alias: "ignore"
-        describe: "Regex with pattern of files to ignore of simulation"
+        describe: "Regex with pattern of files to ignore for sync"
     })
     .argv
 

upload = (path_to_file, stats) ->
    list = path_to_file.split('/')
    folder = if list.length > 1 then list[0..(list.length - 2)].join('/') else ''
    serverPath = options.sim_path + '/' + path_to_file.replace(options.watch_dir, '')

    exec "#{__dirname}/upload.sh #{path_to_file} #{serverPath} #{dataObj.user_name} #{dataObj.password}", (err, stdout, stderr) ->
        if err or stderr
            console.error color(err, "red"), stderr, stdout
        else
            console.log serverPath, color("\u2192", "cyan"), "#{serverPath}"

watcher.on "change", upload
watcher.on "add", upload

dataObj = JSON.parse(data)

#Assume current author by default
if options.sim_path.indexOf('/') is -1 then  options.sim_path = "#{dataObj.user_name}" + "/" + options.sim_path.trim()
#Add trailing slash if not provided
if options.watch_dir.charAt(options.watch_dir.length - 1) != "/" then  options.watch_dir = "#{options.watch_dir}/"

