added older script for repurposing