setup mod main file