Add PRIORITY_DEFAULT + check priority validity