modify sync script that add options to sync Debug or Release libraries