put in everything. need to check why cannot go further for umask; also, snprint is regarded as a usage which is not true