I have editet the code for you so you can copy it clean and paste it in to your remote.

!!!!!! The only thing you have to change is where it says
var %version = your current version
replace the blue text with whatever version your script is.