allow extension to be configured

Signed-off-by: crynobone <crynobone@gmail.com>