Added --new-globals option