Port gowork script over to bash, improve project dir magic.