Make a script for smplayer.