fixed issue where %prog was not replaced with script name
Merge pull request #967 from gregcaporaso/updated-script-docs

fixed issue where %prog was not replaced with script name