Updated for capistrano dynamic deployment