Algorithm Execute Update

Now using newer more secure execute function