Add wait_for_server fn to scripts