edit and run slide code