enhance utility script with extra useful functions
use util script instead of reinventing wheel,
separate extensions with spaces instead of line breaks to be more compatible with GProject plugin
use util script