Entrance script modified