Improved scripts
Added faster build feature for small packages
Fixed script errors
Fixed redundant dependency issue