Added environ to extra_scripts call