Fixed so $options is initialized