added the ability to precompile images