add sign functions
remove external sign script