changed filepath for document object within main script file.