Replace scriptname