Modified the site to be compatible with safe mode