Better script interaction
Fix for 401 in token request