fixing master script path construction, whitespace consistency