incorporate kurts feedback for ego script