Script to run FunctionalMAGGOT