Moved archivepath constant to global constants