reworking service scan config and debugging scan conguration