Fixed issues with write script and run current

Run Current now runs the script on swapping to run fullscreen.
As well the scripts now parse properly in the interpreter and
output to the command line.