removed old resources. tweaks to make production mode work.