added missing type conversion
use absolute path to load configuration file
sorted imports