made changes to allow proper publishing