added ability to have local theme