refactoring brackets '{'. update execution button behaviour for webservice.