support adding custom transformations to the scripts or styles streams

fixes #14