how can i set that the openonload script will open once ??