bugfixing and included python scripts.