The Supreme Court on Tuesday directed to frame guidelines to regulate unhygienic wastes emanating from slaughterhouses after it was told that solid wastes released into drains and sub-soil was the main cause for outbreak of bird flu, foot and mouth disease and zonotic ailment.