Added ability to read from .ini