now os should be detected and screen clearing should work on all platforms