added timeout to all python scripts