Move profile I/O functions
Change the ini file path into the absolute
Keep the working directory