added capistrano multistate support