deployment process modified for portable lib