reference and image paths working