Added getopt with Command Line Options