Update for deployment under different roots