Move clean task to script end
Add update os message