consolidated the perl script. no more dependencies