Added work on script and autocomplete options