lib deploy script