parsing script optioins in modules