entry script performance enhance!