My modifications to sgit app.