Added gui checkbox. Probably in the wrong place but will work for now