Jemma's bug fixing. Added preload.