changing attach sources phase to package