Fix import of functions and path_data