added custom script functionality
...