commit script select with bugs.