added process priority control