Added command line arguments using getopt