Add an option to run in background and change unbase64 structure to reflect base64url stuff