Debugging on hybrid registration

Need to fix: writelines, memory error (gc?)