updated module content
fixed handling of flag options (issue #2)