Added flags to improve the startup speed.