fixed runflag error
added instrucs