Initial version of fetch script.