Clean up script schema