Add ability to modify parts of attachment paths other than the beginning