uhh
Added registration and flag submission