Refactor code so that perl scripts can run from a docker image, freeing the using from having to deal with installing dependencies.