some new macro substitutions
cd to script working dir