Add support for more configuration type, specially for scripts

Signed-off-by: Imran M Yousuf <imyousuf@newscred.com>