Changed how node stores images to allow for more flexibility