check config file in functio
add variables on start file