fix POST script with sysimage, minor string comparison fixes