change absolute paths of assets to relative