Update scripts to handle path values with spaces.