Added "tobase64()" and "frombase64()" script functions