making final fetch script