Improved configuration helper