Symlink the images directory after deploys and fix a scope bug with the environment manager.