adds extension to executable template