added locking packages installation script