Changes port scanner method