added stuff to auto generate the tags file, but the auto complete no longer works as expexted. Might be because of previous changes. Committed this because I needed it on another computer.