Modified script to point the correct sub dir / file