Made paths to images more robust