replaced multiple len(os.Args) calls with variable
release 0.2.2