Make path for images and scripts relative