Added condition to check if version define file exists and if so, adds it