[Db] Creating the script
[Db] taking environment as parameter