added precompile for images