standardize __main__ return and print