tweeks
flag raising and lowering now done via AJAX