add support to grab keys from different location