Adds version and mode