separate gaussian and demon scripts