Fixed waitsets example and scripts