script basenane fix