Changed shebang to '/usr/bin/env perl', relicensed to GPL