This will be the basis for the docker support. I haven't gotten it working yet as I need to make some other changes to the script. Should this be kept as a separate branch...?