updated setup and deploy services; made check permissions recursive