added support for dependencies in mqsub