added q auth script