Allow script root to be defined.