redirecting errors in create_ggi_files