Fixed loading wrong file on daemon startup