Added base64 flags
Merge pull request #51 from Toflar/base64-flags