Ported scripts to the docker-based builder (Fixes #2)