add sql module, tweak job submit script