Added getopt and help text