updated pylet, preparing for argparse