remove directory and add icons to stylesheets