Added authorization and distribution for testing on the server;