Options order

Makes sure that the options are returned by the WebAPI in the same order as they appear in the script