improve script
add sonata media bundle