working on conversion script
datamapper to ar sql script, fixed alerter bug, minor fixes