base64 helper decoding scripts