Started working on thing to generate the code for the archive redirection automatically