Fix files permissions
Fix default security key