added script with a delay for PA to initialize