revert writtens to ERB; add shuffle checkbox