a ground up re-hash of deploy