Replace all occurences of is_worker() by is_master()