Finish implementing fetch script