fix(factory): safe get extras
in scripts and config
#404
+59
−2
extras
in scripts and config
#404