passing credentials to script via file