Add environments to script

Script variables are now set within the given environment. Variables
should be set so Hubot can read and use them.