use $HOME
moved PATHs around
added mac script