added ./publish copy and other methods