Added ability to publish locally and test