output script loc