Added a path function to config