Lots of duplication between the staging and production binaries. Consider dryification?