Modified flagging routine and added outp and runtpe files to 3flux/.