updated extension and added better package functionality