first try, still fails.
clean script for test environment
second try, works