Merge "Fix script init error handling."