Updated with new preload action to run at the start