Fixed a bug that cannot use folder to group script files