apply plugins