Added extra parameters to attachment