set main script