Bugfixes in roach programming scripts