Splitted employee scan and connections into functions called from sys arguments