aapi request builder script fix