correct python to bash variable passing (forms_handler)