fixed preferences settings and new command attrs