started changing into simpler script, and including opacity files