Added nojack flag
Changed bool check for nojack flag