add service directory to image