Added commandline flags to the program