Include PILOT into main

PILOT can be run with the --pilot flag.