add ENV scripts and script to get UID of a document