added option to include crypto dependency