added optparse options