added ability to load styles from config