Modify IPM.pm and make part of plugin
SQL updates.