Updated service.php to support type:dir
updated service.php