Added ConsolApp code for attributes checking