Adding the icondir attribute