Added flags because parsing it myself was causing issues