Add validate, save and publish to configjs