fixed enviornments in deploy script and added capistrano to build.sh