Adding logger to command and finishing refresh