Added two new arguments to the parser, and updated defunct cog code. Remove debug remove print statement