Added loop add script