getting sextractor working

still doesnt run galfit, see todos