Made required hardcoded ids configurable.