Make the fetch_ia_script compatible with django management.