detection of cool contract and display of scaleup and scaledown buttons in service script