jm add main scrip file