Tidy + fix permissions
Remove debug info