added selfupdate script