load csvfile + some minor changes