Improve setup and deployment with Capistrano in CGI environment