OptionsParser extracted from script file