fixed: on systems where python is 3.x (e.g. archlinux) rebuild-script.py...

... did not work

Test script needed little changes to run through.