# Installation

## Downloading Dependencies

Dependencies are very important — you need to install them before moving on to the installation of our script.

{% stepper %}
{% step %}

### PolyZone

{% embed url="<https://github.com/mkafrin/PolyZone>" %}
{% endstep %}

{% step %}

### OX\_LIB

{% embed url="<https://github.com/overextended/ox_lib>" %}
{% endstep %}

{% step %}

### VehicleDeformation (Optional)

Install VehicleDeformation script if you want to save vehicle deformations!&#x20;

No need to set anything in config, just make sure VehicleDeformation is started before op-garages.&#x20;

{% embed url="<https://github.com/Kiminaze/VehicleDeformation/releases>" %}
{% endstep %}
{% endstepper %}

***

## Server.cfg

All dependencies you’ve installed must be started before our script. Make sure to follow the correct start-up order in your `server.cfg`.

```
ensure PolyZone
ensure VehicleDeformation
ensure op-garages
```

***

## Permissions

It's important to grant your server administrators access to our Garage Admin and Commands. Don’t forget to check this Article:

{% content-ref url="tutorials/how-to-add-player-to-garage-admin" %}
[how-to-add-player-to-garage-admin](https://docs.otherplanet.dev/scripts/op-garages-v2/tutorials/how-to-add-player-to-garage-admin)
{% endcontent-ref %}

***

## Database

The script will automatically create its own database and check for columns in framework database on first start-up.

***

## Vehicles Migration from V1 (Optional)

To ensure that your current vehicles from database will display correctly run command from Server-Side Console (It's important)&#x20;

```
/garagesMigrate
```
