tidy cloudbot3/refresh code!