Added setup_arguments method and gw_arguments initialisation