script does everything now