Which command says "can't find ram"? If it's something to do with your first part, I am afraid I cannot do anything, just put exactly the same first part you did before if it was working.
I only changed the IF statements that were all wrong.
By the way is "hip" hippoplayer? That's kind of a big footprint music player, you could use something smaller like
http://aminet.net/package/mus/play/EasyMOD