Fixes component req '.scripts must be an array.'