fixed issue with pre-conditions and logging.
fixed issue related to argument parsing.
added nugetpush to build script.