restructure install file with tasks