changed extension icon, code refactoring