Fix import functions and path_data