Fix a few problems with asset pipeline.