Added global vars, updated config file.