fixed using and passing ref of %scrit,%command, implemented %subs index(args etc),added debug mode (-d,--debug), enabled option bundling