changing script to custom ...