Change lisence
Better (or not) permission check