Fixed reference checks and wwwsite/ publishing checks on toolchain and remote end