adding nexus book specific search as created by Richard Gilchrist
activating publish to main
adding creation of target directory via ssh
fixing function usage and adding remote directory creation