Text this: Investigation of optical properties of metal-doped CsPbX3 perovskite nanocrystals