attempt at a deploy script that is branch-capable