change publish to be used locally