separate icon_dir to a new file