add script for checking dependency