modify for git script