added switches to getopt; clarified PATH note