Added blackout functionality
Added test script