Add ERB support for config file

My improvment is quite simple, I took @MichaelXavier's work in #47 as inspiration.