Added $stockId variable to template
Added support to replace $stockID placeholder while adding global dependencies,