added option to pass custom configurations