fixed syntax error in env template
fixed permissions on env file
added template for external-scripts.json hubot file