added option to bypass libkey check