stack and pie script link correction