Applied new masks and added mask converting script