Made basic perm system work