Minor script update
Fix last ID