fixed path script for bash/zsh, cleaned up myprogA