pass root to assets