Fix scdl
* Remove incompatible osx grep
* Fix the script for other linux
* remove some inutile debug