use argparse for input

and apply x flag on main binary