Your scripts won't work without an xmlapi developers token. Visit
http://webservices.fmanager.net/api_v1/membership/
to get one for free.