Trying to fix scritiner script