Scottish £63m electrification scheme approved