Forgot main()

Now the script tool runs