added functions to get and use selected css sheet.