Fixed mixed replacement implementation
Added the ability to run as script
Bump version to 0.4.1