Add scripts to extract real & imag part of a complex value