The functions can be called from other files. Moved the try before browser submit in crossref