setup main mod file