custom scripts for sketch 3