New function Check_images_directory and new Warnings added