Added preload script