datasource changes; auto copy and chmod; new commandtemplate