make setup script platform agnostic