fix main scriptname