Fixed bugs in CBMC script