move script path special casing to the default dict