Signature check for custom scripts in Openvas 9

Closing as a duplicate of the following thread below. Please avoid asking the same question in multiple threads.