Merge scripts for development and production into one