move done callback out of else block, unnecessary with updated generator-server-configs