moved the script to modconfig