Improved warn command