Allow for single scripts as dicts