changing priority and fix fop inclusion