Very close to being done with the script I wanted to write now I just need to figure out how to get a reference to the GM for the controlledBy reference within createObj and a way to get the pageid the GM is currently viewing yet again for the createObj ref. thanks again! and thanks to everyone who has helped me so far. I do plan on sharing this script which will take TSV files generated by <a href="https://donjon.bin.sh/pathfinder/dungeon/" rel="nofollow">https://donjon.bin.sh/pathfinder/dungeon/</a> and make them into a map with lighting and custom random ground tiles!