When running the command from a directory without a .pt file, try to find the root directory of a git checkout that might contain it
do configs off env vars
more tweaks to allow env vars as global config
and remove a debug statement
Merge pull request #59 from yacomink/master

Config updates