Fix flexi client scripts