added ability to run from command line with just ./crashtest.js