change application run type and chanage something