attributes cleaned, make converted to bash script