changed structure of main script