Modified script to run dacapo using new modifier