I dont know there is any script in modeller does EM. well you can use advance modelling to refine your loop https://salilab.org/modeller/tutorial/advanced.html.
otherwise you have to do EM of your modelled protein by using Gromacs or some available web sever http://www.yasara.org/minimizationserver.htm