initialize variables for local run

next: to be tested!!