made the deployer script handle both xap and cloudify