add wake on lan check after function is ran