Find the supplementary files based on where the main script is.