make rake task export_local working