Fix PROGRAM_NAME mistype

Hi,

There was a missing '$' for PROGRAM_NAME. 

I added a File.basename call to make the output prettier. You can maybe also want .chomp(".rb").