add support for specifying process priority