Script to be invoked from C Program