loading scripts from mdg files