Add run_docker to Makefile and rewrite script

rewrite_config rewrites the config.json based on environment variables
passed into the docker container