It took a minute to figure out to do that. Seems like this would make a lot more sense as a local plugin. Oh well. Anyway, it sorta works. It misses a lot of things and I'm sure it's way too tedious to figure out exactly what is missing, but it comes pretty close to making an easy way to spin up a replica.