Solved problem with options processing.