Smashing mag script