added tex fun to path
added auto url shortener