Correctly configure publishing