Added conversion script for badly generated options