-Changed the Sampler from preload to dynamic loading.