changed perl hashbangs to env and -w to use warnings;