modified the script that verifies the module series