Added INTERMEDIATE rules to label tmp files as unessencial for the pipeline