Changed scp_dev.sh to accept command line flags and be more modular.