updating CGD to MAGIK in rotate.html