Add block visibility

Adding the block visibility option. When updated block visibility will be required.