added script from horde