Added argsparse functionality