in z_interface replace HOME wiht ~ to reduce size