add command-line args parse