did work
commented out a bunch of shit, experimenting with getting resource urls just right