Commit using globbing, add checks