export now also uses url parameter