written in sand generator rex