Script to create session files