make the program can accept arguments

make the program can run without windows if there are arguments pass to
the program .
minor modify