0.5.1

added flags and rewritten buttons