simple base64 en/decode script