Added possibility to specify packages path.