add resources and dir_colors