Updated cog script to relect method name change
Fixed cog script filename extension handling
* rstrip removes by characters in any order; intended to remove .py extension