Modified smoke test script