Moved before_deploy