Added isContract to gui