* Fixed error handling for calling modules based on input