add done callback useful when used programmatically, eg via grunt