Added flags to startup script