[TASK] Adjust build script directory switching