fix bugs and remove orphaned --children-- *cough* i mean scripts