Minor enhancements

Script dir obtained automatically
Pipeline stage can be specified
Report of bases written and coverage
Queue name can be specified