add pmonitor script for sensor merging