Modified how images are compiled.