This is still a work in progress, the route to secondary amides needs fixing (despite what it thinks you don't go via primary amides) - let me know about other errors, thanks