added option to only force certain keys