Added branch deletion and made minor corrections