Updated freightbitdb sql script v3.0