some changes to scripts etc