added the folder of the images and broke the directory code, this needs fixing