Automating deployment [incomplete/untested]