added key existence verification and an additional flag for specifying wether or not syncing is supported