fixed qmroct.sh script