Updated script so it doesn't need to refresh page