remove empty string in list of scripts and requires