Support start action
Fix to handle a case where a single file contains multiple modules