improved handling of args for running rip as a perl script
auto searches paths from PATH env var to find interpreter and check if it is executable