modify for Capistrano/Rake scripts.