 
 renderer            = require './renderer'
 { htmlResponse }    = require './http_utils'
-
-VERSION = require './version'
-VIEWER_URL = 'http://tranquil-scrubland-4645.herokuapp.com/'
-
-CWD = process.cwd()
+VERSION             = require './version'
+
+VIEWER_URL  = 'http://tranquil-scrubland-4645.herokuapp.com/'
+PROTO_FILES = ['script.coffee', 'markup.jade', 'style.styl', 'settings.json', 'notes.md']
+
+CWD         = process.cwd()
 
 pad = (val) ->
     if val < 10


        if not fs.existsSync(project_path)
            fs.mkdirSync(project_path)
            for file_name in ['script.coffee', 'markup.jade', 'style.styl', 'settings.json', 'notes.md']
                fs.writeFileSync("#{ project_path }/#{ file_name }", templates[file_name])
            quitWithMsg("#{ project_name } initialized!")
        else

                stamp("Fetched Gist, project name is #{ project_name }")
                templates = {}
                for k, v of data.files
                    if k not in PROTO_FILES
                        quitWithMsg("Gist is invalid Proto project, bad file: #{ k }")
                    templates[k] = v.content
                doInit(templates)

