Added simple script to write cookies