removed non functional declaration
added env var
removed new lines
switched autocomplete to global search