fix deploy tasks and updated Capfile