Changed IMAGE_PATH added pages to INPUT