added script for signals