fixes #4 - allow passing dependencies as an array or single string