added framework of document loading script, with instructions