make uuid generation optional