ninj with getopt
KTwoNiFFour: periodic option added