Added missing dependendcies between restoring the database and createing it