updated prep script