modify script to have male and female on separate images