add function to initialize paths