Adding a condition, to keep the version of the custom file in check