script to do everything