Rewrite Q-chest handler. again.