put __main__ guard on for windows