script and setting example