Allow embed (not command line) usage