embedding the code into a custom URL and exporting