parse arrays from config file
fixed problems with spaced arrays