split grab function and export function and add lots of media