Add Python script to retry creating environments