Create Preinit script

Continue editing until polished and ready...