updated flag constants
work on options parser