updated to use optparse