Moved chown to last steps