added srv dependency to targets