Minor tweaks to preload simulation. Intended for others to easily run the code.