script changes and submods