Main script added.