Wrap script in main() function.