Updating: working on mainatsflag and dynloadflag.