modified for capistrano deploy