update to new script