Separate script for editing