Fix production environment for materials: the scripts and stylesheets need to be precompiled.