Lock in centos support
Remove unused attributes
Create directories first