Minor changes to fix errors with capistrano