Revised servicecoat.php