Fix load libraries and style files