Use optparse instead of homespun version