Ensure init works on different hosts
Adapted trial to work with database (first steps)