Create process now checks for a valid priority