First attempt at new modified script