Added "priority" and "root-path" options