Added before script back.