Fixed publishing funciton
Updated readme