better paths to the functions library