Adding packages, parameterising db name