Up, deploy and rollback actions in deploy script