Removed unnecessary main when added sc_main