fixes template paths, adds image names