applinked code for downloader, oldcastle cement