Fixes to bbappend