Fixed a bug where I didn't supply all the necessary arguments to importNode