move onchange handler to config file
replace fakepath by default