If you're removing the affiliate urls, it might be wise to also remove the variables on lines 16 and 17 to keep things clean. It doesn't look like they are used anyplace else.