Edited Thundercloud code