self-extracting __main__