use standard types. add option -n to set process priority