added some security stuff to zhsrc