Added the directory copy and zipping functionality