Currently, I do not have permissions to make changes to geoserver source code. However, I suggested a simple change in the existing community module ‘script-core’ to Justin Deoliveria, and he agreed. Request to be granted permission to submit this change. Thanks !