Very Roughly Translated addpost.sh, copied addpost.sh to addpost64.sh, implementing previous changes to convert back to 64-bit.