fixed admin script to support installation on 64-bit platforms