changed to 64bit instead of default architecture
added command line parameters and processing