added stock php script