Made the block check execute before anything else