set __file__ and __main__