getopt and some options added