Implemented a consistent async queue for cscript
Bug fix for cscript