extract a variable
fix missing transparent color, fix issues with multiple files