New Build Scripts

Also add an test case for command line arguments