input_properties fix, also added support for MIGX
Updated code formatting
Fixed warning 'Notice: Undefined index: configs'