Added --commit. also, changed indent of then