update envrep to take global config file and key arguments