removed duration script from temp as we only need it in the creation form