Added calls to some functions to facilitate game flow