Slight improvement on attach, plus use attach() in main Logobot code