Add refactored deployer script