adding eyaml checks and encryption