Fix issue when trying to access settings from _prepend file. Move stuff to _public