fixed per mode settings regex and added modes
0.0.0.4 proto for review