Added edit details required for script to work.