almost got package working properly with custom installation with the services api - publishing is not happening properly though